<?php

use think\facade\Route;

Route::group('{{$routeName}}', function () {
    Route::get('/', '{$controllerName}/index');
    Route::get('/:id', '{$controllerName}/read');
    Route::post('/', '{$controllerName}/save');
    Route::put('/:id', '{$controllerName}/update');
    Route::delete('/:id', '{$controllerName}/delete');
});